import Vue from 'vue'
import App from './App.vue'
import router from './router'
Vue.config.productionTip = false
// 导入样式
import './style/base.less'
// 导入vant
import './utils/vant'
// 导入flexible
import 'amfe-flexible'
// 导入store
import store from './store'
// 把相对时间分装成全局
import moment from 'moment'
moment.locale('zh-cn')
Vue.filter('rlvTime',(val)=>{
  return moment(val).fromNow()
})
new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')